/* pages/buy/buy.wxss */

page {
    background-color: #fdf7f7;
}

// 顶部的样式
.top {
    display: flex;
    justify-content: space-around;
    margin-top: 20rpx;
    .all_item {
        font-size: 40rpx;
    }

    .all_mark1 {
        color: gray;
    }

    .all_mark2 {
        color: black;
        font-weight: bolder;
    }

    .out_item {
        font-size: 40rpx;
    }

    .out_mark1 {
        color: gray;
    }

    .out_mark2 {
        color: black;
        font-weight: bolder;
    }

    .in_item {
        font-size: 40rpx;
    }

    .in_mark1 {
        color: gray;
    }

    .in_mark2 {
        color: black;
        font-weight: bolder;
    }
}

// 全部和待发货的样式
.product-container {
    .product-item {
        position: relative;
        margin: 10rpx;
        .product-orderNum {
            font-weight: bolder;
            margin: 20rpx 0rpx 20rpx 40rpx;
            color: #f46cac;

        }

    .product-item-wrap {
        display: flex;
        background-color: white;
        padding: 10rpx 0rpx;
        width: 90%;
        margin-left: 35rpx;
            border-radius: 50rpx;
            margin-bottom: 20rpx;
        .selector {
            margin-left: 10rpx;
            width: 80rpx;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fd575b;
        }

        .product_img {
            margin-top: 10rpx;
            margin-bottom: 10rpx;
            margin-left: 20rpx;
            display: flex;
            justify-content: center;
            align-items: center;

            .goods-img {
                height: 260rpx;
                width: 200rpx;
            }

        }

        .product-movable-item {
            padding-left: 40rpx;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            font-size: 40rpx;

            .goods-name {
                display: -webkit-box;
                overflow: hidden;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 1;
                color: black;
                font-weight: bolder;
                font-size: 35rpx;

            }

             /* 标签的样式 */
             .goods_bottom1,
             .goods_bottom2 {
                 display: flex;
                 margin-top: 10rpx;
                 font-size: 25rpx;
                 width: 390rpx;
                 justify-content: space-between;
                 .goods_cover,
                 .goods_injure,
                 .goods_notes,
                 .goods_edition {
                     border-radius: 25rpx;
                     background-color: #f1f3f7;
                     width: 180rpx;
                     display: flex;
                     justify-content: center;
                 }
             }

            .goods_bottom {
                width: 480rpx;
                display: flex;
                justify-content: space-between;
                position: relative;
                .goods-price {
                    color: rgb(237, 58, 58);

                }

                .product_status {
                    color: black;
                    font-weight: bolder;
                    position: absolute;
                    right: 100rpx;
                    font-size: 35rpx;

                }
            }
        }

    }
}
}

// 待收货的样式
.product-container1 {
    .product-item {
        position: relative;
        margin: 10rpx;
        .product-orderNum {
            font-weight: bolder;
            margin: 20rpx 0rpx 20rpx 40rpx;
            color: #f46cac;

        }

    .product-item-wrap {
        display: flex;
        background-color: white;
        padding: 10rpx 0rpx;
        width: 90%;
        margin-left: 35rpx;
            border-radius: 50rpx;
            margin-bottom: 20rpx;
        .selector {
            margin-left: 10rpx;
            width: 80rpx;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fd575b;
        }

        .product_img {
            margin-top: 10rpx;
            margin-bottom: 10rpx;
            margin-left: 10rpx;
            display: flex;
            justify-content: center;
            align-items: center;

            .goods-img {
                height: 260rpx;
                width: 200rpx;
            }

        }

        .product-movable-item {
            padding-left: 20rpx;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            font-size: 40rpx;

            .goods-name {
                display: -webkit-box;
                overflow: hidden;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 1;
                color: black;
                font-weight: bolder;
                font-size: 35rpx;

            }

             /* 标签的样式 */
             .goods_bottom1,
             .goods_bottom2 {
                 display: flex;
                 margin-top: 10rpx;
                 font-size: 25rpx;
                 width: 370rpx;
                 justify-content: space-between;
                 .goods_cover,
                 .goods_injure,
                 .goods_notes,
                 .goods_edition {
                     border-radius: 25rpx;
                     background-color: #f1f3f7;
                     width: 180rpx;
                     display: flex;
                     justify-content: center;
                 }
             }

            .goods_bottom {
                width: 480rpx;
                display: flex;
                justify-content: space-between;
                position: relative;
                .goods-price {
                    color: rgb(237, 58, 58);

                }

                .product_status {
                    color: black;
                    font-weight: bolder;
                    position: absolute;
                    right: 100rpx;
                    font-size: 35rpx;

                }
            }
        }

    }
}
}

// 底部样式
.footer {
    position: fixed;
    bottom: 50rpx;
    left: 0;
    width: 100%;
    height: 80rpx;
    display: flex;
    justify-content: space-around;

    .up {
        width: 260rpx;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #336598;
        color: white;
        border-radius: 50rpx;
    }
}